﻿#region Imports
using System.Windows;
using BookManager.ViewModels;
using CommonUtilities.Extensions;
#endregion Imports

namespace BookManager.Views
{
    /// <summary>
    /// Interaction logic for StatsWindow.xaml
    /// </summary>
    public partial class StatsWindow : Window
    {
        #region Constructors
        public StatsWindow()
        {
            InitializeComponent();
        }

        public StatsWindow(MainViewModel mainVM)
            : this()
        {
            mainVM.MySettings_Shallow = mainVM.MySettings.ShallowCopy();
            this.DataContext = mainVM;
        }
        #endregion Constructors
    }
}
